package com.sky.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
public class BorrowingHistoryQueryDTO {
    //当前页码
    private Integer pageNumber;
    
    //每页大小
    private Integer pageSize;
    
    //借阅状态：borrowing-借阅中，returned-已归还，overdue-已逾期
    private String status;
    
    //开始日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;
    
    //结束日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;
    
    //搜索关键词
    private String keyword;
} 